package com.bs.service;


import com.bs.bean.User;

import java.util.List;

public interface UserService {
    User login(String username, String password);

    void save(User user);

    User getUserByUserName(String username);

    void updatePasswordByUserName(String md5Pwd, String email,String username2,String username);

    List<User> getScoreBoardList();

    User getUserById(Integer id);

    void updateOnlineState(String username, boolean isOnline);

    User searchUsersByKeyword(String keyword);

    void updatePicture(String username, String picture);


}
